﻿using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using System.Web.Security;

namespace ChoMy.Models.Data
{
    public class RoleInGroup
    {
        [Key, Column(Order = 0)]
        public string RoleId { get; set; }
        public virtual Role Role { get; set; }

        [Key, Column(Order = 1)]
        public int RoleGroupId { get; set; }
        public virtual RoleGroup RoleGroup { get; set; }
    }
}